package com.googlecode.gwtbb.client.shared.remote.forum;

import com.googlecode.gwtbb.client.shared.entity.forum.Forum;
import com.googlecode.gwtbb.client.shared.entity.forum.Post;

import java.io.Serializable;
import java.util.List;

/**
 * Used to return a forum and some of its postings in the same request.
 * 
 * @author Abraham Grief
 * @version $Id$
 * @since Jun 18, 2008
 */
public class ForumPosts implements Serializable {
	private Forum forum;
	private List<Post> posts;

	public Forum getForum() {
		return forum;
	}

	public void setForum(Forum forum) {
		this.forum = forum;
	}

	public List<Post> getPosts() {
		return posts;
	}

	public void setPosts(List<Post> posts) {
		this.posts = posts;
	}
}
